package org.example.service;

import org.example.domain.DiscussPost;
import org.example.vo.IndexPageVO;

import java.util.List;

public interface ElasticSearchService {
    int saveOneDiscussPost(DiscussPost discussPost);
    int saveListDiscussPost(List<DiscussPost> discussPostList);
    int deleteOneDiscussPost(int id);
    IndexPageVO search(String content, int page, int size);

}
